package com.shop.cereshop.commons.tencent.im.model.msg.data;

import com.shop.cereshop.commons.tencent.im.model.msg.element.TIMImageMsgElement;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @description: 图片消息数据对象
 * @author zdd
 * @date 2025/9/9 22:11
 * @version 1.0
 */
@ApiModel("图片消息数据")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ImageMsgData implements Serializable, MsgData {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("图片的唯一标识，客户端用于索引图片的键值")
//    @NotBlank(message = "uuid不能为空")
    private String uuid;

    @ApiModelProperty("图片格式(1:JPG 2:GIF 3:PNG 4:BMP 255:其他)")
//    @NotBlank(message = "imageFormat不能为空")
    private Integer imageFormat;

    @ApiModelProperty("原图、缩略图或者大图下载信息")
//    @NotNull(message = "imageInfoArray不能为空")
    private java.util.List<TIMImageMsgElement.ImageInfo> imageInfoArray;

}
